Ext.define('extjs6test.view.main.UserImageController', {
    extend: 'Ext.app.ViewController',
    alias: 'controller.main-userimage',
    onImagePathChange:function (newImagePath) {
         var vc=this;
        vc.getView().down('image').setSrc(newImagePath) ;
    }
});
